<div role="footer" class="col-xs-12 col-md-12">
<div role="navigation" >
 
  <ul class="pagination pagination-lg" >
    <li style="float:left;font-size: large;height: 30px;" >
        <label for="page_select">第&nbsp;</label>

    </li>
    <li style="float:left;">
    <select id="page_select" class="form-control" onchange="return changePage('{{obj.module}}')"
            style="height: 30px;">
  {% for pageIndex in obj.pageCount %}
  
  {% ifequal obj.session.pageIndex pageIndex %}
  <option selected value="{{pageIndex}}">{{pageIndex}}
  </option>
  {%else%}
  <option value="{{pageIndex}}">{{pageIndex}}
  </option>
  {%endifequal%}
  
  {% endfor %}
</select>
    
    </li>
  
    <li style="float:left;font-size: large;height: 30px;" >
        <label for="page_select">&nbsp;页</label>

    </li>
  </ul>

</div>
<script >
function changePage(module){
pageIndex=$("#page_select").val()
location.href="/"+module+"/"+pageIndex+"/";
}

</script>

</div>